#include "StdAfx.h"
#include ".\umm_pagechanged.h"
#include "MessageManager.h"



namespace MODULE_MESSAGES
{
	namespace UI_MODULE
	{

		UMM_PageChanged::UMM_PageChanged(void)
		{
			m_MessageID=eUMM_PageChanged;
		}

		UMM_PageChanged::~UMM_PageChanged(void)
		{
		}

		_FOGGE_::_MSG_::Message* UMM_PageChanged::MessageConstructor()
		{
			return static_cast<_FOGGE_::_MSG_::Message*>(foNEW UMM_PageChanged);
		}

		void UMM_PageChanged::Register(_FOGGE_::_MSG_::MessageManager* ptrMessagaManager)
		{
			ptrMessagaManager->RegisterMessage(eUMM_PageChanged,MessageConstructor);
		}
		void UMM_PageChanged::Unregister(_FOGGE_::_MSG_::MessageManager* ptrMessagaManager)
		{
			ptrMessagaManager->UnRegisterMessage(eUMM_PageChanged);
		}
	}
}